Ext.ns('ru.proburo.oms.catalog.entities');

/**
 * ru.proburo.oms.catalog.entities.Item
 * @extends Ext.data.Record
 */
ru.proburo.oms.catalog.entities.Item = Ext.data.Record.create([
    {name:'id',             type: 'int'},
	{name:'sku',            type: 'string'},
	{name:'name',           type: 'string'},
    {name:'vendor',         type: 'string'},
    {name:'article',        type: 'string'},
    {name:'price',          type: 'float'},
    {name:'unit',           type: 'string'},
    {name:'novelty',        type: 'boolean'},
    {name:'hit',            type: 'boolean'},
    {name:'blocked',        type: 'boolean'},
    {name:'last_update',    type: 'date', dateFormat: 'Y-m-d H:i:s'},
    {name:'visible',        type: 'boolean'}
]);